﻿@using kTudu.Web.HTML
@model kTudu.Web.Models.UserClient

@{
    ViewBag.Title = "Modificar";
}

<h2>Modificar</h2>

@using (Html.BeginForm(null, null, FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    //@Html.DropDownList("IdRol", String.Empty)

    @Html.HiddenFor(model => model.IdUserClient)
    @Html.HiddenFor(model => model.Login)
    @Html.HiddenFor(model => model.Active)

    @Html.HiddenFor(model => model.IdRol)
    @Html.HiddenFor(model => model.Rol.IdRol)

    @Html.HiddenFor(model => model.IdUserData)
    @Html.HiddenFor(model => model.UserData.IdUserData)

    @Html.HiddenFor(model => model.UserData.BirthDate)
    @Html.HiddenFor(model => model.UserData.CreationDate)
    

@Html.LabelFor(x => x.Password)
@Html.TextBoxFor(x => x.Password)

@Html.LabelFor(x => x.Name)
@Html.TextBoxFor(x => x.Name)

@Html.LabelFor(x => x.Lastname)
@Html.TextBoxFor(x => x.Lastname)

@Html.LabelFor(x => x.Mail)
@Html.TextBoxFor(x => x.Mail)

@Html.LabelFor(x => x.UserData.BirthDate)
@Html.TextBoxFor(x => x.UserData.BirthDate)

@Html.LabelFor(x => x.UserData.About)
@Html.TextBoxFor(x => x.UserData.About)

@Html.LabelFor(x => x.UserData.Company)
@Html.TextBoxFor(x => x.UserData.Company)

@Html.LabelFor(x => x.UserData.JobPosition)
@Html.TextBoxFor(x => x.UserData.JobPosition)

@Html.LabelFor(x => x.UserData.Twitter)
@Html.TextBoxFor(x => x.UserData.Twitter)

@Html.LabelFor(x => x.UserData.Blog)
@Html.TextBoxFor(x => x.UserData.Blog)

@Html.LabelFor(x => x.UserData.WebPage)
@Html.TextBoxFor(x => x.UserData.WebPage)

    


@Html.SaveButton(isSubmit: true)
}

